package com.cn.transfer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.transfer.common.entity.PurchaseRecord;
import com.cn.transfer.common.entity.SalesRecord;

import java.util.List;

public interface StRDRecordMapper extends BaseMapper<SalesRecord> {
    SalesRecord byCodeSale(String voucherCode);

    PurchaseRecord byCodePurchaseRecord(String voucherCode);
    List<SalesRecord> notList();
    List<PurchaseRecord> notListPurchaseRecord();

    List<PurchaseRecord> warehouseNotNullDayList();

    List<SalesRecord> salesRecordNotNullDayList();
}